package com.example.transactionhintassistant.service;

import com.example.transactionhintassistant.pojo.dto.task.AddTaskDto;
import com.example.transactionhintassistant.pojo.dto.task.ChangeStatusDto;
import com.example.transactionhintassistant.pojo.dto.task.EditReminderLevel;
import com.example.transactionhintassistant.pojo.dto.task.EditTaskDto;
import com.example.transactionhintassistant.pojo.entity.Task;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.transactionhintassistant.pojo.vo.TaskVo;
import com.example.transactionhintassistant.utils.result.Result;

import java.util.List;

/**
* @author 86147
* @description 针对表【tasks(事务表)】的数据库操作Service
* @createDate 2024-03-07 11:53:00
*/
public interface TasksService extends IService<Task> {

    Result<Object> getTodayTaskNow();

    Result<Object> getTodayTask();

    Result<Object> getAllTask(Integer completionStatus);

    Result<Object> addTodayTask(AddTaskDto addTaskDto);

    Result<Object> editTodayTask(EditTaskDto editTaskDto);

    Result<Object> editReminderLevel(EditReminderLevel editReminderLevel);

    Result<Object> deleteTask(Integer id);

    Result<Object> getWeekAllInfo(Integer status);

    Result<Object> getTodayProgress();

    Result<Object> changeStatus(ChangeStatusDto changeStatusDto);

}
